<!DOCTYPE html> 
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <body>		<img src="file:///C:/Users/fb/Desktop/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20250227130255.jpg" id='imgs' name onclick='getsrc()' >	
	<script>
	function getsrc(){	
	let sr=document.getElementById('imgs')	
	console.log(sr)	
sr.src='file:///C:/Users/fb/Desktop/UsersfbDesktop%E9%98%BFjpg.jpg'	
    }
	</script>	
   
   <button onclick="getname(1,2)"></button>
    <button onmouseover="getname(1,2)"></button>
     <button onmouseout="getname(1,2)"></button>
    <script> 
        let num1 = 5
        if(num1<10){
            console.log('数字小于10')
        } 
        else{
            console.log()
        }
        if(10<num1<20){
            console.log('数字大于10小于20')
        }
        else{



            console.log('1')
        }
        
        let num = 30
        if(num>20){
            console.log('数字大于20')
        }
        else{
            console.log('数字小于20')
        }
        let person={
            'name':'lake',
             'age':'18',
             'eyecolor':'blue'
        }
        function getname(a,b){
            console.log(a+b)
            }
                getname(1,2)
        function getnam(a,b){
            console.log(a*b)
            }
                getnam(1,2)
        for(v in person)
        console.log(person[v])
    var person2={
        name:'hh'
    }
    </script>
    <a href="https://gitee.com/chinaio" id='logo' name onclick="gethref()">码云</a>
    <script>
        function gethref(){
            let go=document.getElementById('logo')
            logo.href="https://www.douyin.com/"
        }
    </script>
</body>
</html>